package com.ebring.shareEducation.service;

import com.ebring.shareEducation.bean.Traderecords;
import com.ebring.shareEducation.bean.User;
import com.ebring.shareEducation.bean.response.UserRsp;
import com.ebring.shareEducation.utils.RspMsg;

import java.util.List;

public interface TraderecordsService {

    /**
     * 新增交易记录
     */
    RspMsg<Traderecords> insertTrade(Traderecords traderecords);

    /**
     * 更新交易记录
     */
    RspMsg<Traderecords> updateTrade(Traderecords traderecords);

    /**
     * 通过id查找交易记录
     */
    RspMsg<Traderecords> selectTradeById(String id);

    /**
     * 批量删除交易记录
     */
    RspMsg<Traderecords> DeleteTrade(String[] Id);









    /**
     * 查找所有交易记录
     */
    RspMsg<Traderecords> selectTradefind();



    /**
     * 根据多条件模糊查询
     *
     * @param traderecords

     * @return
     */
    RspMsg<List<Traderecords>> findTrade(Traderecords traderecords);


}
